package com.woniuxy.educationplatform.service.impl;

import com.woniuxy.educationplatform.bean.RoleBean;
import com.woniuxy.educationplatform.bean.StatusBean;
import com.woniuxy.educationplatform.mapper.RoleMapper;
import com.woniuxy.educationplatform.mapper.StatusMapper;
import com.woniuxy.educationplatform.service.IRoleService;
import com.woniuxy.educationplatform.service.IStatusService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(readOnly = true)
public class StatusServiceImpl implements IStatusService {
    @Resource
    private StatusMapper statusMapper;


    @Override
    public List<StatusBean> findAllStatus() {
        return statusMapper.findAllStatus();
    }
}
